package cn.harvest.storage.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee implements java.io.Serializable {

	// Fields

	private Integer employeeId;
	private Employment employment;
	private String employeeCid;
	private String employeeName;
	private Integer employeeState;
	private String employeeTel;
	private String employeeAdd;
	private String employeeMemo;
	private Integer isOper;
	private String operatorName;
	private String operatorPass;
	private Set permissions = new HashSet(0);
	private Set storehouses = new HashSet(0);
	private Set invoicesForEmployeeId = new HashSet(0);
	private Set invoicesForOperatorId = new HashSet(0);

	// Constructors

	/** default constructor */
	public Employee() {
	}

	public Employee(Integer employeeId) {
		this.employeeId = employeeId;
	}
	
	/** full constructor */
	public Employee(Employment employment, String employeeCid,
			String employeeName, Integer employeeState, String employeeTel,
			String employeeAdd, String employeeMemo, Integer isOper,
			String operatorName, String operatorPass, Set permissions,
			Set storehouses, Set invoicesForEmployeeId,
			Set invoicesForOperatorId) {
		this.employment = employment;
		this.employeeCid = employeeCid;
		this.employeeName = employeeName;
		this.employeeState = employeeState;
		this.employeeTel = employeeTel;
		this.employeeAdd = employeeAdd;
		this.employeeMemo = employeeMemo;
		this.isOper = isOper;
		this.operatorName = operatorName;
		this.operatorPass = operatorPass;
		this.permissions = permissions;
		this.storehouses = storehouses;
		this.invoicesForEmployeeId = invoicesForEmployeeId;
		this.invoicesForOperatorId = invoicesForOperatorId;
	}

	// Property accessors

	public Integer getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(Integer employeeId) {
		this.employeeId = employeeId;
	}

	public Employment getEmployment() {
		return this.employment;
	}

	public void setEmployment(Employment employment) {
		this.employment = employment;
	}

	public String getEmployeeCid() {
		return this.employeeCid;
	}

	public void setEmployeeCid(String employeeCid) {
		this.employeeCid = employeeCid;
	}

	public String getEmployeeName() {
		return this.employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public Integer getEmployeeState() {
		return this.employeeState;
	}

	public void setEmployeeState(Integer employeeState) {
		this.employeeState = employeeState;
	}

	public String getEmployeeTel() {
		return this.employeeTel;
	}

	public void setEmployeeTel(String employeeTel) {
		this.employeeTel = employeeTel;
	}

	public String getEmployeeAdd() {
		return this.employeeAdd;
	}

	public void setEmployeeAdd(String employeeAdd) {
		this.employeeAdd = employeeAdd;
	}

	public String getEmployeeMemo() {
		return this.employeeMemo;
	}

	public void setEmployeeMemo(String employeeMemo) {
		this.employeeMemo = employeeMemo;
	}

	public Integer getIsOper() {
		return this.isOper;
	}

	public void setIsOper(Integer isOper) {
		this.isOper = isOper;
	}

	public String getOperatorName() {
		return this.operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getOperatorPass() {
		return this.operatorPass;
	}

	public void setOperatorPass(String operatorPass) {
		this.operatorPass = operatorPass;
	}

	public Set getPermissions() {
		return this.permissions;
	}

	public void setPermissions(Set permissions) {
		this.permissions = permissions;
	}

	public Set getStorehouses() {
		return this.storehouses;
	}

	public void setStorehouses(Set storehouses) {
		this.storehouses = storehouses;
	}

	public Set getInvoicesForEmployeeId() {
		return this.invoicesForEmployeeId;
	}

	public void setInvoicesForEmployeeId(Set invoicesForEmployeeId) {
		this.invoicesForEmployeeId = invoicesForEmployeeId;
	}

	public Set getInvoicesForOperatorId() {
		return this.invoicesForOperatorId;
	}

	public void setInvoicesForOperatorId(Set invoicesForOperatorId) {
		this.invoicesForOperatorId = invoicesForOperatorId;
	}

}